package kr.hkit.powerjava.chapter06;

public class Test2 {
	public static void main(String[] args) {
		int dan=2;
		
		calGuguDan();
/*		calGuguDan(dan);*/
	}	
		
		
	private static void calGuguDan(){
		int i=1;
		while(i<10){
			i++;
			System.out.printf("%2d * %2d = %2d %n", 2, i, 2*i);
			
		}
	}
	
	

/*	private static void calGuguDan(int dan){
		int i = 1;
		System.out.println("=========="+ dan+ "==========");
		while(i<10){
			System.out.printf("%2d * %2d = %2d %n", dan, i, dan*i);
			i++;
		}
		System.out.println();
	}	*/
	
	
}	

